package com.download.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class BusFriendLink {

    @TableId(type = IdType.AUTO)
    private Integer id;
    @NotBlank(message = "路径不能为空")
    private String url;
    @NotBlank(message = "名称不能为空")
    private String name;


}
